package com.example.mqtt.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Data
@Configuration
@ConfigurationProperties(prefix = "spring.mqtt")
public class MqttProperty {
    private String url;
    private String username;
    private String password;
    private int qos;
    private String pubClientId;
    private String subClientId;
    private String[] defaultTopic;
}
